package com.sun.mapper.ums;

import com.sun.pojo.UmsAdmin;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.Map;

/**
 * <p>
 * 后台用户表 Mapper 接口
 * </p>
 *
 * @author 妙妙屋
 * @since 2021-12-08
 */
public interface UmsAdminMapper extends BaseMapper<UmsAdmin> {

    UmsAdmin queryUmsAdminInfo(String admin);

    Integer deleteAllRoles(Long adminId);

    Integer saveRoles(Map map);
}
